import {post,fetch} from "../http"
const pageSize = 10;

export function getReportInfoSimple(){
    return post(`${process.env.VUE_APP_SECBHOST}/?s=KeChuangCalendar&f=getReportInfoSimple&req=ReportInfoReq&rsp=ReportInfoRsp`,{})
}

export function getReportInfoHistory(page){
    return post(`${process.env.VUE_APP_SECBHOST}/?s=KeChuangCalendar&f=getReportInfoHistory&req=HisReportInfoReq&rsp=HisReportInfoRsp`,{
        iStartxh:(page-1)*pageSize,iWantnum:pageSize
    })
}

export function getPreReportInfoDetail(type){
    return post(`${process.env.VUE_APP_SECBHOST}/?s=KeChuangCalendar&f=getPreReportInfoDetail&req=PreReportInfoDetailReq&rsp=PreReportInfoDetailRsp`,{
        eType:type*1
    })
}